/*******************************************************************************
 * 
 * Copyright:
 * 
 * License:
 * 
 * Authors: SALMON Charles
 * 
 ******************************************************************************/

/* ******************************************************************************


 ***************************************************************************** */
 
/**
 * Pages of the userview
 */
qx.Class.define("bip.userview.UserPages",
{
  extend : bip.AbstractPages,
  
  type: "singleton",
  
  construct : function()
  {
    this.base(arguments, 
    		{
    			"fill_survey": new bip.PageModel(
    					{
    						pageClass: bip.userview.pages.FillSurveyPage,
    						portletClass: bip.userview.portlets.SurveyPortlet,
    						portletWidth: 260
    					}),
				"analyse_survey": new bip.PageModel(
    					{
    						pageClass: bip.userview.pages.AnalyseSurveyPage,
    						portletWidth: 0
    					})
    		}
    );
  }
});